Adding 'invocation_id' to run-results as expected by OL#51916
Merged
potiuk merged 1 commit intoapache:mainfrom Jun 19, 2025
Merged
Adding 'invocation_id' to run-results as expected by OL#51916potiuk merged 1 commit intoapache:mainfrom
potiuk merged 1 commit intoapache:mainfrom
Conversation
potiuk
approved these changes
Jun 19, 2025
Contributor
|
LGTM, It's caused by OpenLineage/OpenLineage#3738, now we're including invocation_id in DBT facets. @dolfinus am I assuming correctly that it's always in the metadata returned by DBT? |
8 tasks
Contributor
|
According to https://github.com/dbt-labs/dbt-core/pull/4340/files#diff-33c94e40283afdfeba411a98c0628fc610c287e41c3477d88559f1e0244259c3R317, |
RoyLee1224
pushed a commit
to RoyLee1224/airflow
that referenced
this pull request
Jun 21, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Openlineage released 1.34.0:
This causes a breaking change in OpenLineage 1.34.0 where the DBT processor expects an invocation_id field in the run metadata, but the test data didn't include this field.
Added the invocation_id field to the metadata section of the test run_results.json file and assigned it equal to run_id:
Fixes CI:
Example failure: https://github.com/apache/airflow/actions/runs/15748852234
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.